Breadth First Search Algorithm Solves Pacman Planning Problem